package com.ruoyi.coalmine.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 生产经营单位信息对象 s_plm_rts_coalmine
 * 
 * @author zbw
 * @date 2022-07-11
 */
public class Coalmine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 单位ID */
    private String unitId;

    /** 单位编号 */
    @Excel(name = "单位编号")
    private String unitCode;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String unitName;

    /** 单位类型 */
    @Excel(name = "单位类型")
    private Integer unitType;

    /** 地址 */
    @Excel(name = "地址")
    private String unitAddress;

    /** 描述 */
    @Excel(name = "描述")
    private String unitDescription;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sortIndex;

    /** 国能机构ID */
    private String ceOrgId;

    /** 所属二级单位 */
    @Excel(name = "所属二级单位")
    private String belongCompany;

    public void setUnitId(String unitId) 
    {
        this.unitId = unitId;
    }

    public String getUnitId() 
    {
        return unitId;
    }
    public void setUnitCode(String unitCode) 
    {
        this.unitCode = unitCode;
    }

    public String getUnitCode() 
    {
        return unitCode;
    }
    public void setUnitName(String unitName) 
    {
        this.unitName = unitName;
    }

    public String getUnitName() 
    {
        return unitName;
    }
    public void setUnitType(Integer unitType) 
    {
        this.unitType = unitType;
    }

    public Integer getUnitType() 
    {
        return unitType;
    }
    public void setUnitAddress(String unitAddress) 
    {
        this.unitAddress = unitAddress;
    }

    public String getUnitAddress() 
    {
        return unitAddress;
    }
    public void setUnitDescription(String unitDescription) 
    {
        this.unitDescription = unitDescription;
    }

    public String getUnitDescription() 
    {
        return unitDescription;
    }
    public void setSortIndex(Integer sortIndex) 
    {
        this.sortIndex = sortIndex;
    }

    public Integer getSortIndex() 
    {
        return sortIndex;
    }
    public void setCeOrgId(String ceOrgId) 
    {
        this.ceOrgId = ceOrgId;
    }

    public String getCeOrgId() 
    {
        return ceOrgId;
    }
    public void setBelongCompany(String belongCompany) 
    {
        this.belongCompany = belongCompany;
    }

    public String getBelongCompany() 
    {
        return belongCompany;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("unitId", getUnitId())
            .append("unitCode", getUnitCode())
            .append("unitName", getUnitName())
            .append("unitType", getUnitType())
            .append("unitAddress", getUnitAddress())
            .append("unitDescription", getUnitDescription())
            .append("sortIndex", getSortIndex())
            .append("ceOrgId", getCeOrgId())
            .append("belongCompany", getBelongCompany())
            .toString();
    }
}
